home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / fglqbx10.zip / 09-11.BAS < prev    next >
BASIC Source File  |  1991-06-06  |  570b  |  35 lines

  1. REM $INCLUDE: 'fastgraf.bi'
  2.  
  3. DEFINT A-Z
  4.  
  5. DIM Triangle AS STRING*24
  6.  
  7. DATA &h17,9,1, &h12,1,5, &h17,1,3, &h12,1,3
  8. DATA &h17,1,5, &h12,1,1, &h17,1,7, &h17,1,4
  9.  
  10. NewMode = FGbestmode(320,200,1)
  11. IF NewMode < 0 OR NewMode = 12 THEN
  12.    PRINT "This program requires a 320 x 200 color graphics mode."
  13.    STOP
  14. END IF
  15.  
  16. FOR I = 1 TO 24
  17.    Read Item
  18.    MID$(Triangle,I) = CHR$(Item)
  19. NEXT
  20.  
  21. OldMode = FGgetmode
  22. FGsetmode NewMode
  23.  
  24. FGsetcolor 7
  25. FGrect 0, 319, 0, 199
  26.  
  27. FGmove 156, 101
  28. FGdisplayp Triangle, 16, 9
  29. FGwaitkey
  30.  
  31. FGsetmode OldMode
  32. FGreset
  33.  
  34. END
  35.